from abc import ABC, abstractmethod



class BasePhy(ABC):

    @abstractmethod
    def set_node(self, node):
        pass
    
    @abstractmethod
    def wait_timeslot(self):
        pass
    
    @abstractmethod
    def wait_receive(self):
        pass

    @abstractmethod
    def fs(self):
        pass

    @abstractmethod
    def start(self):
        pass
    
    @abstractmethod
    def tx(self, packet):
        pass
    
    @abstractmethod
    def rx(self, node, packet):
        pass